package com.wzh.design.strategy.demo1;

/**
 * @description:
 * @author: WZH
 * @time: 2021/5/26 8:39
 */
public class GreenHeadDuck extends Duck {

    @Override
    public void display() {
        System.out.println("我和你们不一样，我是绿色的头");
    }

}